quartz: Remove else-clause for pixmaps
authorKristian Rietveld <kris@gtk.org>
Tue, 14 Sep 2010 06:18:42 +0000 (08:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:30 +0000 (15:11 +0200)
gdk/quartz/gdkdrawable-quartz.c

index ea8736a40137ad72c87e964cace3737fb5a31a4d..18220616f6b1bd6e4e895372c65567d2837ec6cd 100644 (file)
@@ -285,8 +285,6 @@ gdk_quartz_drawable_release_context (GdkDrawable  *drawable,
           [window_impl->view unlockFocus];
         }
     }
-  else if (GDK_IS_PIXMAP_IMPL_QUARTZ (drawable))
-    CGContextRelease (cg_context);
 }
 
 void